/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Admin;

import ConnnectData.ConfigServer;
import ConnnectData.DataConnect;

/**
 *
 * @author langtustupid
 */
public class MainRun {
    public static void main(String[] args) {
        if(DataConnect.connectDB()==null){
            ConfigServer frmConfig = new ConfigServer();
            frmConfig.setVisible(true);
        }else{
            LogIn frmLogin = new LogIn();
            frmLogin.setVisible(true);
        }
    }

}
